package com.erb.entity;


/**
 * 用户
 */
public class User {

	private int id;  //用户id
	private String name;  //用户名
	private String phone;  //手机号码
	private String password;  //登录密码
	private String sex;  //性别
	private String birthday;  //生日
	private String email;  //邮箱
	private String face;  //头像
	private String realName; //真实姓名
	private String bankCard; //银行卡
	private double balance; //余额
	private String logindate;  //登录时间
	private String registerdate;  //注册时间
	private Integer integral;//积分
	private Integer modificationTime;//用户名修改状态（1、本月可修改。2、本月不可修改）

	@Override
	public String toString() {
		return "User{" +
				"id=" + id +
				", name='" + name + '\'' +
				", phone='" + phone + '\'' +
				", password='" + password + '\'' +
				", sex='" + sex + '\'' +
				", birthday='" + birthday + '\'' +
				", email='" + email + '\'' +
				", face='" + face + '\'' +
				", realName='" + realName + '\'' +
				", bankCard='" + bankCard + '\'' +
				", balance=" + balance +
				", logindate='" + logindate + '\'' +
				", registerdate='" + registerdate + '\'' +
				", integral=" + integral +
				", modificationTime=" + modificationTime +
				'}';
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFace() {
		return face;
	}

	public void setFace(String face) {
		this.face = face;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getBankCard() {
		return bankCard;
	}

	public void setBankCard(String bankCard) {
		this.bankCard = bankCard;
	}

	public double getBalance() {
		return balance;
	}

	public void setBalance(double balance) {
		this.balance = balance;
	}

	public String getLogindate() {
		return logindate;
	}

	public void setLogindate(String logindate) {
		this.logindate = logindate;
	}

	public String getRegisterdate() {
		return registerdate;
	}

	public void setRegisterdate(String registerdate) {
		this.registerdate = registerdate;
	}

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public Integer getModificationTime() {
		return modificationTime;
	}

	public void setModificationTime(Integer modificationTime) {
		this.modificationTime = modificationTime;
	}
}
